.modal-form {
  padding: 16px 0;
  
  .permission-actions {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-end;
  }
  
  .permission-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    
    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .permission-card {
    margin-bottom: 8px;
    
    .ant-card-head {
      min-height: 38px;
      padding: 0 12px;
      
      .ant-card-head-title {
        padding: 8px 0;
        font-size: 14px;
      }
      
      .ant-card-extra {
        padding: 6px 0;
      }
    }
    
    .ant-card-body {
      padding: 12px;
    }
  }
  
  .permission-group {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    
    @media (min-width: 576px) {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .ant-checkbox-wrapper {
      margin-right: 0;
      margin-left: 0;
    }
  }
  
  .form-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
  }
  
  // 分割线样式
  .ant-divider {
    margin: 12px 0 16px;
    
    .ant-divider-inner-text {
      font-size: 14px;
      font-weight: 600;
      color: #555;
    }
  }
} 